package cate.game.role.res.farm.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFarms;
import cate.game.role.res.farm.MyFarms;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "农场数据返回")
public class FarmsDataResp implements MsgOutput {
    @NoteField("农场数据")
    public MyFarms data;

    public FarmsDataResp() {

    }

    public FarmsDataResp(MyFarms data) {
        this.data = data;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFarms.DATA_RESP;
    }
}
